package com.yz.crm.weixin.mapper;


import com.yz.crm.weixin.model.ThirdPartyUser;

public interface ThirdPartyUserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ThirdPartyUser record);

    int insertSelective(ThirdPartyUser record);

    ThirdPartyUser selectByPrimaryKey(Integer id);

    ThirdPartyUser selectByPrimary(ThirdPartyUser record);

    int updateByPrimaryKeySelective(ThirdPartyUser record);

    int updateByPrimaryKey(ThirdPartyUser record);

    /**
     * 根据openid 更新用户状态
     * @param record
     * @return
     */
    int updateToUnBind(ThirdPartyUser record);
}